﻿using System.Collections.Generic;
using System.Threading.Tasks;
using Jinjia.Approve.Entity.Entity.JJFlow;

namespace Jinjia.Approve.IRepository.JJFlow
{
    public interface IFlowStepRepository
    {
        Task<jj_flow_step> GetById(int step_id);

        Task<List<jj_flow_step>> GetNextPossiblePath(int node_id);

        Task<List<jj_flow_step>> GetByTemplateId(int template_id);

        Task<int> Save(jj_flow_step data);
    }
}